﻿using Mr.Wang.FileLog.Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace Mr.Wang.FileLog.LogInterface
{
    public interface IPersistenceLog:IDisposable
    {
        bool EnableCache { get; set; }
        TimeSpan TimeOut { get; set; }
        void MarshalLog(LogInfo info);
        void PromptlyLog(LogInfo info);
        void PromtlyWrite();
        void CheckIsWriteLog();
    }
}
